package com.cdks.wuxiu.entity.mysql;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Data;


/**
 * 预约咨询信息表
 */
@Data
@TableName("book_consult_info")
public class BookConsultInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间戳
     */
    @TableField("createTime")
    private Long createTime;

    /**
     * 付费用户id
     */
    @TableField("payer")
    private Long payer;

    /**
     * 收费用户id
     */
    @TableField("earner")
    private Long earner;

    /**
     * 订单号
     */
    @TableField("orderNo")
    private String orderNo;    

    /**
     * 预约开始unix时间
     */
    @TableField("startTime")
    private Long startTime;

    /**
     * 预约结束unix时间
     */
    @TableField("stopTime")
    private Long stopTime;

    /**
     * 预约到期unix时间
     */
    @TableField("expireTime")
    private Long expireTime;

    /**
     * 预约时长
     */
    @TableField("minutes")
    private Integer minutes;

    /**
     * 预约单价
     */
    @TableField("price")
    private Integer price;

    /**
     * 付费方定金金额
     */
    @TableField("cost")
    private Integer cost;

    /**
     * 收益方定金金额
     */
    @TableField("surety")
    private Integer surety;

    /**
     * 内容
     */
    @TableField("content")
    private String content;    

    /**
     * 支付状态
     */
    @TableField("payStatus")
    private Integer payStatus;

    /**
     * 签到状态
     */
    @TableField("signInStatus")
    private Integer signInStatus;

    /**
     * 结束状态
     */
    @TableField("finishStatus")
    private Integer finishStatus;

    /**
     * 订单状态
     */
    @TableField("status")
    private Integer status;  

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;       
}